package com.mes.cloud.api.dto.request.organization;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 组织渠道中间表
 * 
 * @author ysd
 * @version 2019-08-30 13:36:07
 * @email shaodong.yuan@pactera.com
 */
@Data
public class SysOrganizationChannelRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", required = false)
    private String id;

    @ApiModelProperty(value = "组织id", required = true)
    @NotNull(message = "组织id不能为空")
    private String organizationId;

    @ApiModelProperty(value = "渠道id集合", required = false)
    private List<String> channelIds;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;


}
